import _fetch from "api_zhoujianyi/fetch";
/**
 * 查询卡券列表
 * @param { Object } data 请求参数
 * {
 *   goodsType undefined
 * }
 * @responses { Object } 返回参数
 * {
 *   limitValue undefined
 *   minAmount undefined
 *   pastDueTime undefined
 *   gmtModified undefined
 *   cardName undefined
 *   getTime undefined
 *   modifier undefined
 *   couponRatio undefined
 *   consumeNote undefined
 *   couponId undefined
 *   tips undefined
 *   uid undefined
 *   unfreezeCondition undefined
 *   isDeleted undefined
 *   couponTplId undefined
 *   id undefined
 *   tag undefined
 *   skuId undefined
 *   firstOrderLimit undefined
 *   consumeTime undefined
 *   amount undefined
 *   creator undefined
 *   orderNo undefined
 *   useStartTime undefined
 *   actualAmount undefined
 *   activityName undefined
 *   cardType undefined
 *   isNew undefined
 *   gmtCreate undefined
 *   limitType undefined
 *   limitTypeDesc undefined
 *   calculateActualAmount undefined
 *   seckillLimit undefined
 *   status undefined
 * }
 */
export function list(data) {
  return _fetch({
    url: "front/app/trade/coupon/list",
    method: "GET",
    data: data,
    headers: {}
  });
}